/*
 * @Author: xiaosihan 
 * @Date: 2024-10-06 20:42:55 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-10-06 20:44:21
 */

import { autorun } from "mobx";
import { ReactNode, useEffect, useRef, useState } from "react";
import styles from "./factoryCenter.module.less";
import FactoryHeader from "../FactoryHeader/FactoryHeader";
import { Button } from "antd";

interface Iprops {
    children?: ReactNode
}

// 厂商中心
export default function FactoryCenter(props: Iprops) {
    const dom = useRef<HTMLDivElement | null>(null);
    const [data, setData] = useState({});
    useEffect(() => {

    }, []);

    useEffect(() => autorun(() => {
    }, { delay: 10 }), []);

    return (
        <div ref={dom} className={styles.factoryCenter} >
            {/* 工厂端的公共头 */}
            <FactoryHeader />
            <div className={styles.title} >您好,厂商名称</div>
            

        </div>
    );

}